home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CUCD / Programming / AMOSList / AMOSLIST / text0219.txt < prev    next >
Encoding:
Text File  |  1998-04-01  |  2.0 KB  |  50 lines

  1. > Hello,
  2. > Question:
  3. > If I get a QBasic listing in ASCII from a PC (Yack), how much work should I
  4. > expect to get it running in AMOS Pro ???
  5. > How big is the diffrence on the two ??
  6.  
  7. Generally not much, but realisticly a hell of a lot.
  8. The largest problem (for a bit program, it depends) is changing the 
  9. subs to procedures.
  10.  
  11. Next change the Lcase$ to Lower$ and Ucase$ to Upper$, and you will 
  12. have to find/write your own ltrim$ and rtrim$ functions (I've got one 
  13. here SOMEWHERE... Arrg!). Pokes and Peeks are useless to translate 
  14. unless you know how the IBM and Amigas work. Ditto for interrupts and
  15. Call Absolute.
  16.  
  17. The sound command and gfx commands need changing, and you need to 
  18. change the screen command (if used) to open a screen with the 
  19. appropriate res/size.
  20.  
  21. Aside from that and a few other things, theres not much difference.
  22.  
  23. > -- 
  24. > Kind regards from
  25. > ______________________________________________________________________________
  26. >  /_  __/ __  / __  /\  ___\  __ \__  _\               aka. JENS VANG PETERSEN
  27. >   / / / /_/ / ____/  \ \___\  __ \ \ \                  top_cat@post8.tele.dk
  28. >  /_/ /_____/_/        \_____\_\ \_\ \_\
  29. > ------------------------------------------------------------------------------
  30. >                     http://home8.inet.tele.dk/top_cat/
  31. >   -+-    Home of 'The Ultimate Extension list' for AMOS TC & AMOS PRO    -+-
  32. >             -+-  SUPPORT - AMOS - AMIGA - AQUA - STARTREK TNG  -+-
  33. > ------------------------------------------------------------------------------
  34. >  Avoid temporary variables and strange women.
  35. > ------------------------------------------------------------------------------
  36. Regards,
  37.  
  38. James Brown   - Ender/Gcc   - Ender@vision.net.au   -- Team *AMOS*,
  39. Http://Endergcc.home.ml.org - Fido: 3:670/213.42    -- IAPA, GCC Int.
  40. Programming: CBATNAM, Yeerk Pool 7 and Extreme Doom -- My ICQ: 7823451
  41. -------------------------------------------------------------
  42. "No ma'am. We at the FBI don't have a sense of humor that 
  43.  we're aware of." -- Kay, Men In Black
  44.  
  45.